package com.situ.mall.order.pojo.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单
 * </p>
 *
 * @author Sun Huijuan
 * @since 2024-10-14
 */
@Data
public class OrderInfoExcelVO implements Serializable {
	
	@ExcelProperty(value = "ID")
	private Long id;
	
	@ExcelProperty(value = "用户ID")
	private Long userId;
	
	@ExcelIgnore
	private String userName;
	
	@ExcelProperty(value = "订单号")
	private String orderNo;
	
	@ExcelProperty(value = "订单件数")
	private Integer totalNum;
	
	@ExcelProperty(value = "订单总金额")
	private BigDecimal totalAmount;
	
	@ExcelProperty(value = "付款方式")
	private Integer paymentType;
	
	@ExcelProperty(value = "订单状态")
	private Integer orderStatus;
	
	@ExcelIgnore
	private String receiverName;
	
	@ExcelIgnore
	private String receiverPhone;
	
	@ExcelProperty(value = "省份")
	private String receiverProvince;
	
	@ExcelIgnore
	private String receiverCity;
	
	@ExcelIgnore
	private String receiverDistrict;
	
	@ExcelIgnore
	private String receiverAddr;
	
	/**
	 * 支付时间
	 */
	@ExcelIgnore
	private Date paymentTime;
	
	/**
	 * 发货时间
	 */
	@ExcelIgnore
	private Date deliveryTime;
	
	/**
	 * 确认收货时间
	 */
	@ExcelIgnore
	private Date receiveTime;
	
	/**
	 * 订单备注
	 */
	@ExcelIgnore
	private String remark;
	
	/**
	 * 取消订单时间
	 */
	@ExcelIgnore
	private Date cancelTime;
	
	/**
	 * 取消订单原因
	 */
	@ExcelIgnore
	private String cancelReason;
	
	@ExcelIgnore
	private Date createTime;
	
	@ExcelIgnore
	private Date updateTime;
	
	@ExcelProperty(value = "逻辑删除")
	private Integer deleted;
	
	
}
